package com.share.netty.im.request;

import com.share.netty.im.command.Command;
import com.share.netty.im.command.Packet;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author caifan
 * @createTime 2020/5/10
 * @desc: 消息请求对象
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MessageRequestPacket extends Packet {
    private String toUserId;//接收信息用户
    private String message;

    @Override
    public Byte getCommand() {
        return Command.MESSAGE_REQUEST;
    }

}
